Frame Properties

Description

A list of frame properties, includes examples.

Setup Properties

  • Object Name

    The name of the control.

    :formname.controlname.object.name as C
  • Allow Growth When Printing

    Whether to allow the frame to grow for print purposes.

    :formname.controlname.object.growable as L
  • Allow Shrink When Printing

    Whether to allow the frame to shrink for print purposes.

    :formname.controlname.object.shrinkable as L
  • Hide

    Determines whether the frame is visible.

    :formname.controlname . Object.Visible as L
  • Always on Top

    When checked the control is always on the top-most level of the form layout. No other form elements will over lap it.

    :formname.controlname.object.always_on_top as L
images/UG_Frame_Setup_Properties.gif

Border Properties

  • Border Style and Border Edge Shape

    Sets the border line style.

    :formname.controlname.border.style as C
  • Border Color

    Sets the border line color (using a color name or RGB value ).

    :formname.controlname.border.color as C
  • Border Width

    The width of the border line in pixels.

    :formname.controlname.border.width as N
  • Show Left, Right, Top, Bottom

    For edge shape "Square" determines which sides of the rectangle will display. For other edge shapes, determines which corners will be square or styled.

    :formname.controlname.border.has_bottom_edge as L
    :formname.controlname.border.has_left_edge as L
    :formname.controlname.border.has_right_edge as L
    :formname.controlname.border.has_top_edge as L
  • Shadow Style

    Determines how much the shadow will be offset and its degree of shading.

    :formname.controlname.shadow.style as C
  • Shadow Color

    Sets the shadow color (using a color name or RGB value ).

    :formname.controlname.shadow.color as C
  • Background Style

    The fill color mode and translucency of the control's background.

    :formname.controlname.Background_style as C
  • Caption Fill

    The style and color(s) of the control's background.

    :formname.controlname.border.highlight_color as C
    :formname.controlname.border.shadow_color as C
    :formname.controlname.border.fill_style as C
  • Frame Fill

    The style and color(s) of the control's background.

    :formname.controlname.fill.backcolor as C
    :formname.controlname.fill.forecolor as C
    :formname.controlname.fill.style as C
images/UG_Frame_Border_Properties.gif

Font Properties

  • Face

    Sets the font.

    :formname.controlname.font.name as C
  • Size

    Sets the point size.

    :formname.controlname.font.size as N
  • Bold, Italic, Underline, Strikeout

    When checked set the named attribute.

    :formname.controlname.font.bold as  L
    :formname.controlname.font.italic as L
    :formname.controlname.font.strikeout as L
    :formname.controlname.font.underline as L
  • Color

    Sets the text color (using a color name or RGB value ).

    :formname.controlname.font.color as C
images/UG_Frame_Font_Properties.gif

Dimension Properties

  • Left

    Sets the horizontal position of the control.

    :formname.controlname.object.left as N
  • Top

    Sets the vertical position of the control.

    :formname.controlname.object.top as N
  • Width

    Sets the width of the control.

    :formname.controlname.object.width as N
  • Height

    Sets the height of the control.

    :formname.controlname.object.height as N
  • Anchor

    Determines the way the tabbed control will or will not stretch as the base form is resized.

    :formname.controlname.object.anchor as N
    • Possible attachment points are:

    • 1 = top and right

    • 2 = top, left, and right

    • 4 = bottom and left

    • 5 = bottom and right

    • 6 = bottom, left, and right

    • 8 = top, bottom, and left

    • 9 = top, bottom, and right

    • 10 = top, bottom, left, and right

images/UG_Frame_Dimension_Properties.gif